/*price range*/
const BASE_URL_REQUEST = 'http://cmapi.czmb.top'; // 正式服
const LANG = {
    EN: {
        title: 'YIWU ZHADONG TRADING CO.,LTD',
        l1: 'Home',
        l2: 'Products',
        l3: 'Contact',
        l4: 'WHY US',
        l5: 'PRODUCTS LIST',
        l6: 'OUR TEAM',
        l7: 'CONTACT US',
        l8: 'FEEDBACK MESSAGE',
        l9: 'CONTACT INFO',
        l10: 'Name',
        l11: 'Email',
        l12: 'Subject',
        l13: 'Your Message Here',
        l14: 'Tel',
        l15: 'Fax',
        l16: 'Address',
        l17: 'Submit',
        l18: 'CATEGORY',
        l19: 'Product Search by itemNO. name',
        l20: 'ABOUT US',
    },
    CN: {
        title: 'YIWU ZHADONG TRADING CO.,LTD',
        l1: '主页',
        l2: '产品',
        l3: '联系我们',
        l4: '为什么选择我们',
        l5: '推荐产品',
        l6: '我们的团队',
        l7: '联系我们',
        l8: '反馈留言',
        l9: '联系方式',
        l10: '昵称',
        l11: '邮箱',
        l12: '留言标题',
        l13: '您的留言内容',
        l14: '电话',
        l15: '传真',
        l16: '地址',
        l17: '提交',
        l18: '产品分类',
        l19: '产品名称或货号搜索',
        l20: '关于我们',
    }
}
 $('#sl2').slider();

	var RGBChange = function() {
	  $('#RGB').css('background', 'rgb('+r.getValue()+','+g.getValue()+','+b.getValue()+')')
	};	
		
/*scroll to top*/

$(document).ready(function(){
	$(function () {
		$.scrollUp({
	        scrollName: 'scrollUp', // Element ID
	        scrollDistance: 300, // Distance from top/bottom before showing element (px)
	        scrollFrom: 'top', // 'top' or 'bottom'
	        scrollSpeed: 300, // Speed back to top (ms)
	        easingType: 'linear', // Scroll to top easing (see http://easings.net/)
	        animation: 'fade', // Fade, slide, none
	        animationSpeed: 200, // Animation in speed (ms)
	        scrollTrigger: false, // Set a custom triggering element. Can be an HTML string or jQuery object
					//scrollTarget: false, // Set a custom target element for scrolling to the top
	        scrollText: '<i class="fa fa-angle-up"></i>', // Text for element, can contain HTML
	        scrollTitle: false, // Set a custom <a> title if required.
	        scrollImg: false, // Set true to use image
	        activeOverlay: false, // Set CSS color to display scrollUp active point, e.g '#00FFFF'
	        zIndex: 2147483647 // Z-Index for the overlay
		});
	});
});
